package com.xxmw.transaction.task;

import com.xxmw.transaction.service.app.UserBrickService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author: yamoo
 * @create: 2020-07-31 15:57
 */
@Slf4j
@Component
public class VipTask {

    @Autowired
    private UserBrickService userBrickService;

    public void closeBrick () {
        userBrickService.closeUserBrickByVip();
    }
}
